package com.example.wenmini.entity;

import lombok.Data;

import java.util.List;

@Data
public class Question {
    private Long id;
    private String title;
    private int questionNumber;
    private String questionText;
    private List<QuestionOption> options;
    private Long questionnaireId;
    private Integer index;
    private QuestionType type;  // 添加问题类型字段
    private boolean hasTextInput;  // 新增字段：问题是否包含文本输入
}
